﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using MPACore.Phonebook.Phonebooks.PhoneNumbers.Dto;
using System.Collections.Generic;

namespace MPACore.Phonebook.PhoneBooks.Dto
{
    [AutoMapFrom(typeof(Phonebooks.Persons.Person))]
    public class PersonListDto : FullAuditedEntityDto
    {
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string Address { get; set; }
        public List<PhoneNumberListDto> PhoneNumbers { get; set; } 
    }
}
